<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui">

	<p:menu type="sliding" backLabel="Voltar">
		<p:menuitem value="#{x['faces.link.label.user']}" action="userSearch"
			ajax="false" rendered="#{loginMB.userReader}" immediate="true" />
		<p:menuitem value="#{x['faces.link.label.profile']}"
			rendered="#{loginMB.profileReader}" action="profileSearch" ajax="false" 
			immediate="true" />
	</p:menu>

</ui:composition>